package runze.util.base;

import java.util.Date;

/**
 * 广告位条件基类
 * @author wrzhxy@qq.com
 * @创建时间 2017年5月13日 下午2:59:24
 */
public class PlaceCondition extends Query {
	public final static int EXPIRE = 1;
	public final static int NOT_EXPIRE = 2;
	public final static int NEAR_EXPIRE = 3;
	
	private int isExpire;	// 过期状态
	private int day;
	private Date startDate;
	private Date finishDate;
	
	public PlaceCondition() {
		super();
	}
	public PlaceCondition(int pageNo, int pageSize, int totalData) {
		super(pageNo, pageSize, totalData);
	}
	public PlaceCondition(int totalData) {
		super(totalData);
	}
	public PlaceCondition(int isExpire, int day, Date startDate, Date finishDate) {
		super();
		this.isExpire = isExpire;
		this.day = day;
		this.startDate = startDate;
		this.finishDate = finishDate;
	}
	public int getIsExpire() {
		return isExpire;
	}
	public void setIsExpire(int isExpire) {
		this.isExpire = isExpire;
	}
	public int getDay() {
		return day;
	}
	public void setDay(int day) {
		this.day = day;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getFinishDate() {
		return finishDate;
	}
	public void setFinishDate(Date finishDate) {
		this.finishDate = finishDate;
	}
}
